/*
 * @Author: your name
 * @Date: 2021-08-26 09:53:10
 * @LastEditTime: 2021-08-26 17:17:38
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \briup\5-javascript\day04\2-形参实参.js
 */
function set(stu, num) {
    stu.age = 100;
    num = 100;
    console.log(stu, num); //{ name: 'zs', age: 200 }   100
}
var obj = { name: 'zs', age: 200 };

var mm = 200;
set(obj, mm); //stu=obj; num=mm;